<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<table id="test" background="blue">
						<thead>
							<tr>
								<th colspan="3">
									<button title="点击此按钮刷新下方表格数据，ajax处理" class="am-btn am-btn-primary">刷新数据</button>
								</th>
							</tr>
							
						</thead>
						<tbody>
						<c:forEach items="${result}" varStatus="i" var="sp">
						       <tr> 
								<td><input type="checkbox"></td>
								<td>${result.name}</td>
								<td>${result.age}</td>
							</tr>
						</c:forEach>
								<td colspan="3">
									<button class="am-btn am-btn-primary" title="点击后将所有数据的checkbox修改为选中状态">全选</button>
									<button class="am-btn am-btn-primary" title="点击后将所有数据的checkbox修改为未选中状态">全不选</button>
									<button class="am-btn am-btn-primary" title="点击后，已选择的checkbox改为未选择，未选择的checkbox改为已选择">反选</button>
									<button class="am-btn am-btn-warning" title="点击后提交已选择数据的value值">提交已选择数据</button>
								</td>
							</tr>
						</tbody>
					</table>